package com.dw.etl.core.bean.model;

import java.io.Serializable;
import java.lang.management.LockInfo;

public class BaseDbTpcomp implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long idDbTpcomp;

	private String euDbtp;

	private String euFldtp;

	private String euJavatp;

	private Long numLength;

	private Byte fgDef;

	private Byte fgDeci;

	public Long getIdDbTpcomp() {
	    return idDbTpcomp;
	}

	public void setIdDbTpcomp(Long idDbTpcomp) {
	    this.idDbTpcomp = idDbTpcomp;
	}

	public String getEuDbtp() {
	    return euDbtp;
	}

	public void setEuDbtp(String euDbtp) {
	    this.euDbtp = euDbtp;
	}

	public String getEuFldtp() {
	    return euFldtp;
	}

	public void setEuFldtp(String euFldtp) {
	    this.euFldtp = euFldtp;
	}

	public String getEuJavatp() {
	    return euJavatp;
	}

	public void setEuJavatp(String euJavatp) {
	    this.euJavatp = euJavatp;
	}

	public Long getNumLength() {
		return numLength;
	}

	public void setNumLength(Long numLength) {
		this.numLength = numLength;
	}

	public Byte getFgDeci() {
	    return fgDeci;
	}

	public void setFgDeci(Byte fgDeci) {
	    this.fgDeci = fgDeci;
	}

	public Byte getFgDef() {
	    return fgDef;
	}

	public void setFgDef(Byte fgDef) {
	    this.fgDef = fgDef;
	}

	@Override
	public boolean equals(Object that) {
	    if (this == that) {
	        return true;
	    }
	    if (that == null) {
	        return false;
	    }
	    if (getClass() != that.getClass()) {
	        return false;
	    }
	    BaseDbTpcomp other = (BaseDbTpcomp) that;
	    return (this.getIdDbTpcomp() == null ? other.getIdDbTpcomp() == null : this.getIdDbTpcomp().equals(other.getIdDbTpcomp())) && (this.getEuDbtp() == null ? other.getEuDbtp() == null : this.getEuDbtp().equals(other.getEuDbtp())) && (this.getEuFldtp() == null ? other.getEuFldtp() == null : this.getEuFldtp().equals(other.getEuFldtp())) && (this.getEuJavatp() == null ? other.getEuJavatp() == null : this.getEuJavatp().equals(other.getEuJavatp())) && (this.getNumLength() == null ? other.getNumLength() == null : this.getNumLength().equals(other.getNumLength())) && (this.getFgDeci() == null ? other.getFgDeci() == null : this.getFgDeci().equals(other.getFgDeci())) && (this.getFgDef() == null ? other.getFgDef() == null : this.getFgDef().equals(other.getFgDef()));
	}

	@Override
	public int hashCode() {
	    final int prime = 31;
	    int result = 1;
	    result = prime * result + ((getIdDbTpcomp() == null) ? 0 : getIdDbTpcomp().hashCode());
	    result = prime * result + ((getEuDbtp() == null) ? 0 : getEuDbtp().hashCode());
	    result = prime * result + ((getEuFldtp() == null) ? 0 : getEuFldtp().hashCode());
	    result = prime * result + ((getEuJavatp() == null) ? 0 : getEuJavatp().hashCode());
	    result = prime * result + ((getNumLength() == null) ? 0 : getNumLength().hashCode());
	    result = prime * result + ((getFgDeci() == null) ? 0 : getFgDeci().hashCode());
	    result = prime * result + ((getFgDef() == null) ? 0 : getFgDef().hashCode());
	    return result;
	}

	@Override
	public String toString() {
	    StringBuilder sb = new StringBuilder();
	    sb.append(getClass().getSimpleName());
	    sb.append(" [");
	    sb.append("Hash = ").append(hashCode());
	    sb.append(", serialVersionUID=").append(serialVersionUID);
	    sb.append(", idDbTpcomp=").append(idDbTpcomp);
	    sb.append(", euDbtp=").append(euDbtp);
	    sb.append(", euFldtp=").append(euFldtp);
	    sb.append(", euJavatp=").append(euJavatp);
	    sb.append(", numLength=").append(numLength);
	    sb.append(", fgDeci=").append(fgDeci);
	    sb.append(", fgDef=").append(fgDef);
	    sb.append("]");
	    return sb.toString();
	}


}